package template;/** * Created by Administrator on 2018-10-26. */public abstract  class CaffeinReverage {    abstract void brew();    abstract void addCondiments();    void boilWater(){        System.out.println("Boiling water");    }    void pourInCup(){        System.out.println("Pouring into cup");    }    final void  prepareRecipe(){        boilWater();        brew();        addCondiments();        pourInCup();    }}